package top.mataiji.manager.pojo;

import java.io.Serializable;

/**
 * @author zhoubin
 * @since 1.0.0
 */
public class Sold_book implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 商品价格
     */
    private Long commodityPrice;

    /**
     * 已售商品数量
     */
    private String commodityQuantity;

    /**
     * sold_book
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getCommodityPrice() {
        return commodityPrice;
    }

    public void setCommodityPrice(Long commodityPrice) {
        this.commodityPrice = commodityPrice;
    }

    public String getCommodityQuantity() {
        return commodityQuantity;
    }

    public void setCommodityQuantity(String commodityQuantity) {
        this.commodityQuantity = commodityQuantity == null ? null : commodityQuantity.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", commodityPrice=").append(commodityPrice);
        sb.append(", commodityQuantity=").append(commodityQuantity);
        sb.append("]");
        return sb.toString();
    }
}
